# -*- coding: utf-8 -*-
"""
Created on Sun Sep 19 22:29:51 2021

@author: 刘长奇-2019300677
"""
import numpy as np
import copy
n=int(input('请输入想要的数组元素个数：'))
m=np.random.rand(n)
m1=copy.deepcopy(m)
for i in range(n):
    m[n-1-i]=m1[i]
print('原数组：')
print(m1)
print('颠倒顺序后的数组：')
print(m)
